package customer.GUI.components.panels;

import java.awt.Color;

import javax.swing.JComponent;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

public class NetPlayCustomSplitChan extends JTabbedPane{
	
	public NetPlayCustomSplitChan(String gameName)
	{
		JPanel panParties = new JPanel();
		panParties.setBackground(Color.blue);
		NetPlayCustomChanPanel panChan = new NetPlayCustomChanPanel(gameName);
		this.addNewTab("Parties", panParties);
		this.addNewTab("SofChan", panChan);
	}
	
	
	
	public void addNewTab(String gameName, JComponent panel)
	{
		this.addTab(gameName, panel);
	}
}
